package cn.itsource.system.domain;

import cn.itsource.basic.domain.BaseDomain;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 * 实体类：
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Role extends BaseDomain{

    private String name;
    private String sn;

    //当前角色的权限
    private List<Long> permissions = new ArrayList<>();
    //当前角色涉及的菜单
    private List<Long> menus = new ArrayList<>();

}
